package websocket

import (
	"gitee.com/thingple/saturn/cmd/dashboard/message"
	"gitee.com/thingple/saturn/internal/ws"
	"github.com/lishimeng/app-starter/server"
)

func Router(root server.Router) {
	root.Get("/data", ws.Build(message.DataBroadcastTopic, dataWs))
}
